package com.lktx.bbfactory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lktx.bbfactory.common.CommonPage;
import com.lktx.bbfactory.entiy.User;

public interface userService extends IService<User> {
    //分页查询用户
    CommonPage<User> pageUser(int pageNum, int pageSize, String username,String name);

    //登录
    String login(String username, String password);

    //添加用户
    void addUser(User user);

    //更新用户
    void updateUser(User user);

    // 删除用户
    void deleteUser(Long userId);





}
